#region Summary

// 
// Owner : JackieHan 
// 
// Solution : DailyCollection 
// 
// Project : Jackie.Utility.Condition
// 
// File : DefineValue.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : 定制值
// 
// History : 
//			2011-05-24 15:30:47	    Create 
// 

#endregion

#region Using

using System;
using System.Text;
using Jackie.Utility.Condition.Domain.Interface;

#endregion

namespace Jackie.Utility.Condition.Domain
{
    /// <summary> 
    /// 定制值
    /// </summary>
    public class DefineValue
    {
        /// <summary>
        /// 定义类型
        /// </summary>
        public IDefine DefineType { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        public string Value { get; set; }

        public override string ToString()
        {
            var sb = new StringBuilder();
            sb.AppendFormat("DefineType:{0},", DefineType.ToString());
            sb.AppendFormat("Value:{0}", Value);
            return sb.ToString();
        }
    }
}